'use strict';
const db = uniCloud.database();
// 获取 `user` 集合的引用
const filesList = db.collection('files_list');
exports.main = async (event, context) => {
	// 云函数删除云存储文件
	let result = await uniCloud.deleteFile({
	    fileList: event.filesList
	});
	//返回数据给客户端
	return {result}
};
